package chapter03;

/**
 * Created by Miracle yaochengwei on 2022/4/4 11:03
 */
public class HomeWork2 {
    public static void main(String[] args) {
        //使用char类型，分别保存\n lt \r ll1 23等字符，并打印输出Homework02.java
        char c1 = '\n'; //换行
        char c2 = '\t'; //制表位  有固定一个宽度
        char c3 = '\r'; //回车   也是空着的
        char c4 = '\\'; //输出\
        char c5 = '1'; //换行
        char c6 = '2'; //换行
        char c7 = '3'; //换行
        System.out.println(c1);
        System.out.println(c2);
        System.out.println(c3);
        System.out.println(c4);
        System.out.println(c5);
        System.out.println(c6);
        System.out.println(c7);
    }
}
